﻿<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <Title>propchangedimp</Title>
      <Author>kottalovag</Author>
      <Description>Implement INotifyPropertyChanged with event</Description>
      <HelpUrl />
      <SnippetTypes />
      <Keywords />
      <Shortcut>propchangedimp</Shortcut>
    </Header>
    <Snippet>
      <References />
      <Imports />
      <Declarations />
      <Code Language="csharp" Kind="method decl" Delimiter="$"><![CDATA[public event PropertyChangedEventHandler PropertyChanged;
protected void OnPropertyChanged(string propertyName)
{
    if (this.PropertyChanged != null)
    {
        this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    }
}]]></Code>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>